Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit e4f2e91c242c3bcee223375a5bb746fabb4bba98


Parents : ddeff4d
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-05-02T05:28:06-05:00

chore(docker): add vendor directory to Dockerfile and update .dockerignore to exclude vendor test and documentation files

Changes

3 files changed, 6 insertions(+), 0 deletions(-)


Diff

diff --git a/.dockerignore b/.dockerignore
index 02c61176..86150d2d 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -4,6 +4,10 @@ donate.md
screenshots/
docs/
+vendor/lxmfy/tests/
+vendor/lxmfy/docs/
+vendor/lxmfy/.gitea/
+
# Development files
android/
android/keystore/

diff --git a/Dockerfile b/Dockerfile
index e246e442..149ebfb1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -43,6 +43,7 @@ ENV PATH="/opt/venv/bin:$PATH"
RUN pip install --no-cache-dir --upgrade "pip>=26.0" "setuptools" "jaraco.context>=6.1.0"
COPY pyproject.toml poetry.lock README.md ./
+COPY vendor ./vendor
RUN poetry config virtualenvs.create false && \
poetry check --lock && \
poetry install --no-root --only main --no-interaction --no-ansi && \

diff --git a/Dockerfile.hardened b/Dockerfile.hardened
index f46b3f6e..dfc10a13 100644
--- a/Dockerfile.hardened
+++ b/Dockerfile.hardened
@@ -35,6 +35,7 @@ ENV PATH="/opt/venv/bin:$PATH"
RUN pip install --no-cache-dir --upgrade "pip>=26.0" "setuptools" "jaraco.context>=6.1.0"
COPY pyproject.toml poetry.lock README.md ./
+COPY vendor ./vendor
RUN poetry config virtualenvs.create false && \
poetry check --lock && \
poetry install --no-root --only main --no-interaction --no-ansi && \


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────